/*
 * Description: performance hooking aspect.
 */
#ifndef ASPECT_H
#define ASPECT_H
#include <d3d11.h>

namespace SVGA {
    LONG AppendAspectBasicRender();
    LONG AppendAspectAnimation();

    typedef HRESULT(WINAPI* pOriginCreateDeviceAndSwapchain)(
        _In_opt_ IDXGIAdapter*,
        D3D_DRIVER_TYPE,
        HMODULE,
        UINT,
        _In_opt_ const D3D_FEATURE_LEVEL*,
        UINT,
        UINT,
        _In_opt_ const DXGI_SWAP_CHAIN_DESC*,
        _Out_opt_ IDXGISwapChain**,
        _Out_opt_ ID3D11Device**,
        _Out_opt_ D3D_FEATURE_LEVEL*,
        _Out_opt_ ID3D11DeviceContext**
        );

    typedef BOOL(WINAPI* pOriginSystemParametersInfo) (
        _In_opt_ UINT,
        _In_opt_ UINT,
        _Inout_opt_ PVOID,
        _In_opt_ UINT
        );
}
#endif
